package com.example.shop.shops.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName t_logininfo
 */
@TableName(value ="t_logininfo")
@Data
public class Logininfo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String phone;

    /**
     * 
     */
    private String email;

    /**
     * 
     */
    private String salt;

    /**
     * 
     */
    private String password;

    /**
     * 类型 - 0管理员，1用户
     */
    private Integer type;

    /**
     * 启用状态：true可用，false禁用
     */
    private Boolean disable;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}